package SSM.Chat.Config;

//import SSM.Chat.Filter.FilterToken;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

// MVC 拦截器配置
@Configuration
public class MVCFilterConfig extends WebMvcConfigurationSupport {
//@Autowired
//private FilterToken FilterToken;
//    @Override
//    protected void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(FilterToken).addPathPatterns("/**");
//
//    }
}
